package dp.gr03.payroll.generalTransactions;

import dp.gr03.payroll.payrollDomain.Employee;

public class ChangeNameTransaction extends ChangeEmployeeTransaction
{
    private String name;

    public ChangeNameTransaction(int empId, String name)
    {
        super(empId);
        this.name = name;
    }

    @Override
    public void change(Employee e)
    {
        e.setName(name);
    }
}
